//
//  GRCertificationAction.h
//  YC_GRice
//
//  Created by LiuFeng on 2018/7/23.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GRCertificationAction : NSObject

/**
 百度身份证识别

 @param isFront 正面还是反面
 @param url 正反面图片URL
 @param completionHandler <#completionHandler description#>
 */
+ (void)identifyIDCardWithDirection:(BOOL)isFront IMGURL:(NSString *)url completionHandler:(RequestBlock)completionHandler;



/**
 百度银行卡识别

 @param url 银行卡图片URL
 @param completionHandler <#completionHandler description#>
 */
+ (void)identifyBankCardWithIMGURL:(NSString *)url completionHandler:(RequestBlock)completionHandler;



/**
 获取所有认证状态（个人认证，联系人认证等）

 @param completionHandler <#completionHandler description#>
 */
+ (void)getALLCertificationStatus:(RequestBlock)completionHandler;



/**
 提交个人认证

 @param paramer <#paramer description#>
 @param completionHandler <#completionHandler description#>
 */
+ (void)submitPersonalCertification:(NSDictionary *)paramer completionHandler:(RequestBlock)completionHandler;



/**
 添加紧急联系人

 @param paramer <#paramer description#>
 @param completionHandler <#completionHandler description#>
 */
+ (void)addAnEmergencyContact:(NSDictionary *)paramer completionHandler:(RequestBlock)completionHandler;


/**
 获取联系人

 @param completionHandler <#completionHandler description#>
 */
+ (void)getALLContacts:(RequestBlock)completionHandler;



/**
 获取个人认证信息

 @param completionHandler <#completionHandler description#>
 */
+ (void)getPersonalCertificationInfomation:(RequestBlock)completionHandler;

@end
